<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>


<%-- Importa las tag libraries necesarias --%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>

<%--@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" --%>


<%-- <jsp:useBean id="userid"  class="bean.usuario" />
<jsp:setProperty name="userid" property="*"/> --%>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <html:base/>
    <body>
        <%--<logic:notPresent name="org.apache.struts.action.MESSAGE" scope="application">
            <div  style="color: red">
                ERROR:  Application resources not loaded -- check servlet container
                logs for error messages.
            </div>
        </logic:notPresent>--%>
        <html:form action="/ProcesarLogin">
            <table> 
                <tr>
                    <td>user:</td>
                    <td><html:text  property="username" value=""/></td>
                </tr>
                <tr>
                    <td>pass:</td>
                    <td><html:password  property="password" value=""/></td>
                </tr>

                <html:submit value="Enviar"/>

            </table>
        </html:form >
        <div style="color: red">
            <html:errors />
            <i>${mensaje}</i>
            ${param.errorSesion}
        </div>
    </body>
</html>
